package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class MaterialOutListActivity extends UMWindowActivity {

	protected UMWindow MaterialOutList = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected XHorizontalLayout panel9 = null;
protected UMImageButton imagebutton2 = null;
protected UMImageButton btn_menu = null;
protected XVerticalLayout panel11 = null;
protected XVerticalLayout panel8 = null;
protected XHorizontalLayout panel10 = null;
protected UMTextbox textbox0 = null;
protected UMImageButton imagebutton0 = null;
protected UMSearchControl search0 = null;
protected UMListViewBase listviewdefine0 = null;
protected XHorizontalLayout panel2 = null;
protected XVerticalLayout panel0 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label0 = null;
protected UMLabel label1 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label2 = null;
protected UMLabel label3 = null;
protected XHorizontalLayout panel6 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label5 = null;
protected UMLabel label4 = null;
protected UMLabel label6 = null;
protected UMLabel label10 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label14 = null;
protected UMLabel label15 = null;
protected XHorizontalLayout panel7 = null;
protected XHorizontalLayout toolbar0 = null;
protected UMButton button1 = null;
protected UMLabel label7 = null;
protected UMButton button2 = null;
protected UMLabel label8 = null;
protected UMButton button3 = null;
protected UMLabel label9 = null;
protected XVerticalLayout panel12 = null;
protected XVerticalLayout panel13 = null;
protected UMButton button4 = null;
protected UMButton button6 = null;
protected UMButton button5 = null;
protected UMButton button7 = null;

	
	protected final static int ID_MATERIALOUTLIST = 1623946682;
protected final static int ID_VIEWPAGE0 = 2097220936;
protected final static int ID_NAVIGATORBAR0 = 1360234829;
protected final static int ID_BUTTON0 = 1763910088;
protected final static int ID_PANEL9 = 765848342;
protected final static int ID_IMAGEBUTTON2 = 338871562;
protected final static int ID_BTN_MENU = 424593359;
protected final static int ID_PANEL11 = 1727367176;
protected final static int ID_PANEL8 = 1841953931;
protected final static int ID_PANEL10 = 1598939000;
protected final static int ID_TEXTBOX0 = 324010335;
protected final static int ID_IMAGEBUTTON0 = 1917499419;
protected final static int ID_SEARCH0 = 1372756570;
protected final static int ID_LISTVIEWDEFINE0 = 453916750;
protected final static int ID_PANEL2 = 805971183;
protected final static int ID_PANEL0 = 296746085;
protected final static int ID_PANEL1 = 1859263652;
protected final static int ID_LABEL0 = 573913010;
protected final static int ID_LABEL1 = 1692009514;
protected final static int ID_PANEL5 = 1744073610;
protected final static int ID_LABEL2 = 1117191719;
protected final static int ID_LABEL3 = 1233958754;
protected final static int ID_PANEL6 = 1995813187;
protected final static int ID_PANEL3 = 313138063;
protected final static int ID_LABEL5 = 207975867;
protected final static int ID_LABEL4 = 1291283604;
protected final static int ID_LABEL6 = 1007293584;
protected final static int ID_LABEL10 = 1096204716;
protected final static int ID_PANEL4 = 1479231041;
protected final static int ID_LABEL14 = 417093674;
protected final static int ID_LABEL15 = 1417693818;
protected final static int ID_PANEL7 = 191249337;
protected final static int ID_TOOLBAR0 = 615517991;
protected final static int ID_BUTTON1 = 1894500557;
protected final static int ID_LABEL7 = 1339959943;
protected final static int ID_BUTTON2 = 1165378267;
protected final static int ID_LABEL8 = 547910476;
protected final static int ID_BUTTON3 = 820400636;
protected final static int ID_LABEL9 = 1009448210;
protected final static int ID_PANEL12 = 1653902271;
protected final static int ID_PANEL13 = 1762364307;
protected final static int ID_BUTTON4 = 1031425015;
protected final static int ID_BUTTON6 = 1494724841;
protected final static int ID_BUTTON5 = 1860018903;
protected final static int ID_BUTTON7 = 856982340;

	
	
	@Override
	public String getControllerName() {
		return "MaterialOutListController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		{ //viewPage0 - action:viewpage0_onrestart
    UMEventArgs args = new UMEventArgs(MaterialOutListActivity.this);
    actionViewpage0_onrestart(viewPage0,args);

}

		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("MaterialOutList",ID_MATERIALOUTLIST);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("imagebutton2",ID_IMAGEBUTTON2);
  idmap.put("btn_menu",ID_BTN_MENU);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("imagebutton0",ID_IMAGEBUTTON0);
  idmap.put("search0",ID_SEARCH0);
  idmap.put("listviewdefine0",ID_LISTVIEWDEFINE0);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label0",ID_LABEL0);
  idmap.put("label1",ID_LABEL1);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label2",ID_LABEL2);
  idmap.put("label3",ID_LABEL3);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label5",ID_LABEL5);
  idmap.put("label4",ID_LABEL4);
  idmap.put("label6",ID_LABEL6);
  idmap.put("label10",ID_LABEL10);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label14",ID_LABEL14);
  idmap.put("label15",ID_LABEL15);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("toolbar0",ID_TOOLBAR0);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("label7",ID_LABEL7);
  idmap.put("button2",ID_BUTTON2);
  idmap.put("label8",ID_LABEL8);
  idmap.put("button3",ID_BUTTON3);
  idmap.put("label9",ID_LABEL9);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("button4",ID_BUTTON4);
  idmap.put("button6",ID_BUTTON6);
  idmap.put("button5",ID_BUTTON5);
  idmap.put("button7",ID_BUTTON7);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //listviewdefine0 - action:listviewdefine0_onload
    UMEventArgs args = new UMEventArgs(MaterialOutListActivity.this);
    actionListviewdefine0_onload(listviewdefine0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","材料出库"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"font-size","20"
,"valign","center"
,"width","70.0"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","40.0"
,"pressed-image","btn_back_touch"
);
navigatorbar0.addView(button0);
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"width","0"
,"weight","1"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
navigatorbar0.addView(panel9);
imagebutton2 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON2
,"padding-top","5"
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_search_touch.png"
,"onclick","action:imagebutton2_onclick"
,"icon-height","25"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","tab_search.png"
,"istogglebutton","false"
,"width","40"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","25"
,"value","查询"
,"padding-right","5"
,"height","fill"
);
navigatorbar0.addView(imagebutton2);
btn_menu = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_BTN_MENU
,"padding-top","9"
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_more_touch.png"
,"onclick","action:btn_menu_onclick"
,"icon-height","25"
,"font-size","16"
,"valign","center"
,"icon-text-spacing","3"
,"icon-background-image","tab_more.png"
,"istogglebutton","false"
,"width","40"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","right"
,"icon-width","25"
,"height","fill"
);
navigatorbar0.addView(btn_menu);

return navigatorbar0;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","40"
);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"onchange","action:textbox0_onchange"
,"font-size","14"
,"autofocus","autofocus"
,"margin-left","15"
,"bindfield","scancode"
,"background","#ffffff"
,"width","325.0"
,"font-family","default"
,"margin-top","5"
,"placeholder","录入单据码"
,"layout-type","hbox"
,"halign","LEFT"
,"margin-bottom","5"
,"height","fill"
);
panel10.addView(textbox0);
imagebutton0 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON0
,"font-pressed-color","#e50011"
,"color","#ff8080"
,"icon-pressed-image","scaner_touch.png"
,"onclick","action:imagebutton0_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","scaner.png"
,"istogglebutton","false"
,"width","50"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","扫一扫"
,"height","40"
);
panel10.addView(imagebutton0);

return panel10;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL8
,"width","fill"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","left"
,"height","40"
);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel8.addView(panel10);
search0 = (UMSearchControl)ThirdControl.createControl(new UMSearchControl(context),ID_SEARCH0
,"search-del-icon","search_right.png"
,"color","#000000"
,"display","none"
,"search-btn-icon","search_left.png"
,"font-size","14"
,"onsearch","action:search0_onsearch"
,"localstorage","true"
,"bindfield","search0"
,"width","fill"
,"placeholder","搜索"
,"background-image","search_bg"
,"layout-type","vbox"
,"height","35"
,"font","default"
);
panel8.addView(search0);

return panel8;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"color","#000000"
,"width","110"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","单据号："
,"height","fill"
);
panel1.addView(label0);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"bindfield","vbillcode"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"disabled","disabled"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel1.addView(label1);

return panel1;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#000000"
,"width","110"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","物料名称："
,"height","fill"
);
panel5.addView(label2);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"bindfield","cinvname"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"disabled","disabled"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel5.addView(label3);

return panel5;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"width","fill"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#000000"
,"width","110"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","数量（主/辅）："
,"height","fill"
);
panel3.addView(label5);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"bindfield","nshouldinnum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"disabled","disabled"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","60.0"
,"height","fill"
);
panel3.addView(label4);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","4.0"
,"content","/"
,"height","wrap"
);
panel3.addView(label6);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"bindfield","nshouldassistnum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"height","fill"
);
panel3.addView(label10);

return panel3;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel6.addView(panel3);

return panel6;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"width","fill"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"color","#000000"
,"width","110"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","扫描主数量："
,"height","fill"
);
panel4.addView(label14);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"bindfield","scannum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"disabled","disabled"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","50.0"
,"height","fill"
);
panel4.addView(label15);

return panel4;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"width","0"
,"weight","1"
,"valign","TOP"
,"layout-type","hbox"
,"halign","left"
,"height","120"
);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel0.addView(panel1);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel0.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel0.addView(panel6);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel0.addView(panel4);

return panel0;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"margin-left","3"
,"border-bottom-color","#ff0000"
,"padding-left","3"
,"border-bottom-width","1px"
,"width","fill"
,"valign","top"
,"layout-type","vbox"
,"halign","CENTER"
,"margin-right","3"
,"padding-right","3"
,"height","121"
);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
panel2.addView(panel0);

return panel2;
}
public View getListviewdefine0View(final UMActivity context,IBinderGroup binderGroup) {
listviewdefine0 = (UMListViewBase)ThirdControl.createControl(new UMListViewBase(context),ID_LISTVIEWDEFINE0
,"collapsed","true"
,"weight","1"
,"valign","TOP"
,"listview-divider-height","1"
,"onload","action:listviewdefine0_onload"
,"layout","vbox"
,"bindfield","orders"
,"width","fill"
,"onitemclick","action:listviewdefine0_onitemclick"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
listviewdefine0.addListItemView("getPanel2View");

return listviewdefine0;
}
public View getToolbar0View(final UMActivity context,IBinderGroup binderGroup) {
toolbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_TOOLBAR0
,"width","fill"
,"valign","top"
,"background-image","tabbar"
,"layout-type","hbox"
,"halign","CENTER"
,"height","50"
);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button1_onclick"
,"font-size","18"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"value","今天"
,"height","fill"
);
toolbar0.addView(button1);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#000000"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","44.0"
);
toolbar0.addView(label7);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button2_onclick"
,"font-size","18"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"value","本周"
,"height","fill"
);
toolbar0.addView(button2);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"color","#000000"
,"width","10"
,"font-size","14"
,"font-family","default"
,"margin-top","5"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","44.0"
);
toolbar0.addView(label8);
button3 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON3
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button3_onclick"
,"font-size","18"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"value","本月"
,"height","fill"
);
toolbar0.addView(button3);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#000000"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
toolbar0.addView(label9);

return toolbar0;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","50"
);
View toolbar0 = (View) getToolbar0View((UMActivity)context,binderGroup);
panel7.addView(toolbar0);

return panel7;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL11
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel11.addView(panel8);
View listviewdefine0 = (View) getListviewdefine0View((UMActivity)context,binderGroup);
panel11.addView(listviewdefine0);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel11.addView(panel7);

return panel11;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL13
,"margin-left","20"
,"width","fill"
,"margin-top","20"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"margin-right","20"
,"height","fill"
);
button4 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON4
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button4_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","详情"
,"height","40"
);
panel13.addView(button4);
button6 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON6
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button6_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","采集"
,"height","40"
);
panel13.addView(button6);
button5 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON5
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button5_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","删除"
,"height","40"
);
panel13.addView(button5);
button7 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON7
,"font-pressed-color","#ffffff"
,"color","#ff0000"
,"onclick","action:button7_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","10"
,"layout-type","vbox"
,"halign","center"
,"value","取消"
,"height","40"
);
panel13.addView(button7);

return panel13;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL12
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","240"
);
View panel13 = (View) getPanel13View((UMActivity)context,binderGroup);
panel12.addView(panel13);

return panel12;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"onrestart","action:viewpage0_onrestart"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
viewPage0.addView(panel11);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
viewPage0.addView(panel12);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
MaterialOutList = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_MATERIALOUTLIST
,"layout","vbox"
,"controller","MaterialOutListController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
MaterialOutList.addView(viewPage0);

return (UMWindow)MaterialOutList;
}

	
	public void actionButton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button1_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button2_onclick()",UMActivity.getViewId(control),args);
}
public void actionImagebutton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.imagebutton2_onclick()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onrestart(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onrestart";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "pageRestart()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button0_onclick()",UMActivity.getViewId(control),args);
}
public void actionBtn_menu_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_menu_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "loadmenu()",UMActivity.getViewId(control),args);
}
public void actionButton7_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button7_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onclick_Cancel()",UMActivity.getViewId(control),args);
}
public void actionTextbox0_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "textbox0_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "scanonchange()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onitemclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onitemclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.onitemclick()",UMActivity.getViewId(control),args);
}
public void actionImagebutton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.imagebutton1_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton6_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button6_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onclick_Scan()",UMActivity.getViewId(control),args);
}
public void actionSearch0_onsearch(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "search0_onsearch";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "selectData()",UMActivity.getViewId(control),args);
}
public void actionButton5_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button5_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onclick_Delete()",UMActivity.getViewId(control),args);
}
public void actionButton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button3_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton4_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button4_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onclick_Detail()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onlistload()",UMActivity.getViewId(control),args);
}


}
